============================= test session starts ==============================
platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0
rootdir: /tmp/pytest-of-runner/pytest-0/test_too_long_summary_line0
collected 8 items / 1 deselected / 7 selected
f.py F.sxXE. [100%]
==================================== ERRORS ====================================
_________________________ ERROR at setup of test_error _________________________
@pytest.fixture
def s():
> raise Exception('boom!')
E Exception: boom!
f.py:30: Exception
=================================== FAILURES ===================================
_________________________________ test_answer __________________________________
def test_answer():
> assert inc(3) == 5
E assert 4 == 5
E + where 4 = inc(3)
f.py:8: AssertionError
=============================== warnings summary ===============================
f.py::test_warning
/tmp/pytest-of-runner/pytest-0/test_too_long_summary_line0/f.py:36: UserWarning: WARNING!
warnings.warn(UserWarning("WARNING!"))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED f.py::test_answer - assert 4 == 5
ERROR f.py::test_error - Exception: boom!
= 1 failed, 2 passed, 1 skipped, 1 deselected, 1 xfailed, 1 xpassed, 1 warning, 1 error in 0.01s =